package com.coolw.data.migrate.common.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * 数据迁移切面
 *
 * @author coolw
 * @date 2024/2/21 9:54
 */
@Slf4j
//@Aspect
//@Component
public class DataMigrateAspect {

    @Pointcut("@annotation(com.coolw.data.migrate.common.aop.DataMigrate)")
    public void pointcut() {
    }

    @Around("pointcut()")
    public Object around(ProceedingJoinPoint pjp) {
        return null;
    }
}
